#ifndef _BOSS_DOOR_DATA_H_
#define _BOSS_DOOR_DATA_H_
#include "AbstractData.h"

#define _STATE_MAP_STAGE3_BOSS_DOOR_1 1
#define _OBS_BOSS_DOOR_3_HEIGHT 181
#define _OBS_BOSS_DOOR_3_WIDTH  192

#define _DOOR_POSITION_X 10114
#define _DOOR_POSITION_Y 193.5

class Boss3DoorData : public AbstractData
{
public:
	Boss3DoorData(int id, int type)
	{
		this->id = id; 
		this->type = type;
		this->rect = new Rect(_DOOR_POSITION_X, _DOOR_POSITION_Y, _OBS_BOSS_DOOR_3_HEIGHT, _OBS_BOSS_DOOR_3_WIDTH);
		this->rect->Vx = this->rect->Vy = 0;

		this->initData();

		this->sprites->currentSprite->setStartEnd(0,1);
	}

	void initSpriteHandler(LPD3DXSPRITE spritehandler)
	{
		sprites->initSpriteHandler(spritehandler);
	}

	void initData()
	{
		this->initSprite();
	}
	~Boss3DoorData();

private:
	void initSprite()
	{
		sprites = new Sprites(rect);
		sprites->addSprite(_STATE_MAP_STAGE3_BOSS_DOOR_1, _ID_MAP_STAGE3_BOSS_DOOR_1, 0);
		sprites->setState(_STATE_MAP_STAGE3_BOSS_DOOR_1);
	}
};
#endif